﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Reddit.Data
{

    [DataContract]
    public abstract class DataContainer
    {
        [DataMember]
        public virtual string kind
        {
            get;
            set;
        }
    }


    [DataContract]
    public class DataContainer<T> : DataContainer
    {
        [DataMember]
        public virtual T data { get; set; }
    }
}
